<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org"
      xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity3">

<head>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
  <!-- <link href="http://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"> -->
  <!-- <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
  -->
  <meta name="viewport" content="width=device-width, initial-scale=1"/>

  <!-- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.6/css/materialize.min.css"/> -->
  <link rel="stylesheet" href="/css/materialize.min.css"/>

  <link rel="stylesheet" href="/css/comm100-new.css"/>

  <title>Comm100 - 高效在线客服系统解决方案</title>
</head>
<body>
<nav class="top-nav z-depth-2">
  <div class="nav-wrapper white">
    <div class="brand-logo">
      <a href="/" class="logo-link"><img class="logo-img" src="/img/Comm100_logo.png"/></a>
      <span class="brand-title">高效在线客服系统</span>
    </div>
  </div>
</nav>
<div th:if="${register_fail}">
  <p th:text="${fail_reason}">注册失败</p>
</div>
<form class="register-form" th:action="@{/register}" method="post">
  <div class="input-field">
    <input id="first_name-register" type="text" class="validate" name="username"/>
    <label for="first_name-register">用户名</label>
  </div>
  <div class="input-field">
    <input id="email-register" type="email" class="validate" name="email"/>
    <label for="email-register">邮箱</label>
  </div>
  <div class="input-field">
    <input id="password-register" type="password" class="validate" name="password"/>
    <label for="password-register">密码</label>
  </div>
  <button class="login-panel-body-submit btn" type="submit">注册</button>
</form>
<script src="/js/jquery-1.7.2.min.js"></script>
<script src="js/materialize.min.js"></script>
</body>
</html>